<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" trimDirectiveWhitespaces="true" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<jsp:include page="/WEB-INF/views/comm/title.jsp"></jsp:include>
<body>

			<div class="container">
<!-- Prompt IE 7 users to install Chrome Frame -->
<!--[if lt IE 8]><p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->
<jsp:include page="/WEB-INF/views/comm/header.jsp"></jsp:include>
	<div class="works-page main grid-wrap">
		<header class="grid col-full">
			<hr>
			<p class="fleft">사용자 별 통계</p>
		</header>
		<aside class="grid col-one-quarter mq2-col-full">
			<menu>
				<a id= "btncheckingLog" >사용자 로그 확인 </a><br/>
				<a id= "btncheckingTime">사용자 사용시간 체크 </a><br/>
				<a id= "btncheckingResTime">사용자 반응시간 체크 </a>
				
			</menu>
		</aside>
		<section class="grid col-three-quarters mq2-col-full">
		    <input type="button" id="btn_refresh" value="재조회" style="width:100px;height:20px;position: relative;right: 155px;top:-10px;padding: 0px !important" />
			<div class="grid-wrap works">
			
				<table  style="width: 800px">
					<tr>
						<th>사용자명 </th>
						<th>로그인 횟수</th>
						<th>새로고침 클릭 횟수</th>
						<th>새화면 클릭 횟수</th>
						<th>자기글 페이지에 머문 시간 (총시간)</th>
					</tr>
					<c:forEach items="${LOG_LIST}" var="log" >
					<tr style="text-align: center;" >
						<td>${log.USER_NAME}</td>
						<td>${log.USER_LOG_CNT}</td>
						<td>${log.USER_REFRESH_CNT}</td>
						<td>${log.USER_NEWSCREEN_CNT}</td>
						<td>${log.TOT_STAY_TIME}</td>
					</tr>
					</c:forEach>
				</table>
			</div> <!-- grid inside 3/4-->
		</section>	
	</div> <!--main-->
	</div>
<jsp:include page="/WEB-INF/views/comm/footer.jsp"></jsp:include>
 <script src="${pageContext.request.contextPath}/resources/js/mind/works.js"></script>

</body>
</html>